<!DOCTYPE html>
<html lang="zh">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>

</body>
<script>
  let s1 = "abc";
  let s2 = "ABC";
  console.log(s1+"="+s2);
  let html = '<h3 title="'+s1+'">'+s2+'</h3>';
  console.log(html)

  console.log(`${s1}-${s2}`)
  let html2 = `<h3 title="${s1}">${s2}</h3>`
  console.log(html2);

  function setMsg() {
    return "我是函数"
  }
  console.log(`调用方法setMsg的结果是：${setMsg()}`)


  let html3 = `<div>
                 <h3>hahahha</h3>
                 <div>
                   <span>fasf</span>
                 </div>
               </div>`;
  console.log(html3)

</script>
</html>
